to_text
Converts this decimal to a string representation.
Since
0.9.1
Converts this decimal to a string representation, optionally using scientific notation (e.g.: 1.2345E+100).
Since
0.9.1
Parameters
scientific
Flag indicating whether to use scientific notation. When true
, the result has a form 1.23456789E+123, with one digit before the point and at most 20 digits after the point (the exponent part is optional). The returned text is not always an exact representation of the decimal value due to rounding.